<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="产品编号">
                <el-input v-model="form.GWAN001" readOnly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="属性特征分类编号" prop="GWAN002" :readOnly="!isAdd">
                <el-select v-model="form.GWAN002" size="small" placeholder="请选择属性特征分类" :disabled="!isAdd" @change="change1">
                    <el-option v-for="item in selectOptions.options1"
                               :key="item.GWAI001"
                               :label="item.GWAI001 + item.GWAIL003"
                               :value="item.GWAI001">
                    </el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="说明" prop="GWAIL003">
                <el-input v-model="form.GWAIL003"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :hidden="hidden">
            <el-form-item label="属性特征值编号" prop="GWAJ002">
                <el-select v-model="form.GWAN003" size="small" placeholder="请选择属性特征值" @change="change2">
                    <el-option v-for="item in selectOptions.options2"
                               :key="item.GWAJ002"
                               :label="item.GWAJ002 + item.GWAJL004"
                               :value="item.GWAJ002">
                    </el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :hidden="hidden">
            <el-form-item label="说明" prop="GWAJL004">
                <el-input v-model="form.GWAJL004"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" :hidden="hidden">
            <el-form-item label="助记码" prop="GWAJL005">
                <el-input v-model="form.GWAJL005"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
            <el-form-item label="有效" prop="GWANACTI">
                <el-select v-model="form.GWANACTI">
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwai500_1_edit"], $.noop);
</script>